package com.scs.application.modules.base.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.scs.application.core.query.QueryContext;
import com.scs.application.core.service.IBaseService;
import com.scs.application.modules.base.entity.MatrCategory;
import com.scs.application.modules.sys.model.RestResult;
import com.scs.application.modules.thirdparty.dto.MatrCategoryDTO;

import java.util.List;

/**
 * <p>
 *  Service
 * </p>
 */

public interface MatrCategoryService extends IBaseService<MatrCategory> {

    /**
     * 从Hrp系统中同步耗材品类
     */
    RestResult syncMatrCategoryFromHrp(List<MatrCategoryDTO> object);

    Page pageWithCategory(QueryContext queryContext);

    /**
     * 从MSCM系统中同步耗材分类
     */
    RestResult syncCategoryFromMscm();
    String repairData();

    void afterSyncHis();
}
